/*
 * @Author: huangrongji
 * @Date: 2021-11-26 23:10:36
 * @LastEditors: huangrongji
 * @LastEditTime: 2021-11-28 22:53:10
 * @Description: file content
 */
import Vue from 'vue'
import App from './App'
// vuex
import store from './store'
Vue.prototype.$store = store


Vue.config.productionTip = false

App.mpType = 'app'

// 引入uview
import uView from "uview-ui";
Vue.use(uView);

// 引入路由
import {router,RouterMount} from '@/common/router.js';
Vue.use(router);


const app = new Vue({
  store,
  ...App
})

// 引入request、http请求
import request from './utils/request.js'
Vue.use(request, app)
import http from './common/http'
Vue.use(http, app)

// #ifdef H5
RouterMount(app,router,'#app')
// #endif

// #ifndef H5
	app.$mount(); //为了兼容小程序及app端必须这样写才有效果
// #endif
